#ifndef _PIRHANA_H_
#define _PIRHANA_H_

#include "Object.h"

#define PIRHANA_VX 0.1
#define GRAVITY 0.01

/************************************************************************/
/*Cay an thit                                                                      */
/************************************************************************/

class Pirhana : public Object
{ 

	float _xTemp;
	float _yTemp;
	//float _vy;

	float _xOld;
	float _yOld;



	float timeStop;
public:
	/*
	 *	Get/set properties
	 */
	OBJECT_TYPE getObjectType();

	/*
	 *	Constructor/destructor
	 */
	Pirhana(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, int ID, int Object_State);
	~Pirhana();

	/*
	 *	Method
	 */
	//void Render();
	//void Update(list<Object*>* staObjs, list<Object*>* dynObjs, DxInput* input, float TPF);

	
	//void ResetRect();
	//void ChangeState(int state);

	void update(list<Object*>* obj_list, DxInput* input, float TPF);
	void render(int cameraX, int cameraY);
	void changeState(int state);
};

#endif